//
//  WEIBOTabbar.h
//  OneWeiBo
//
//  Created on 6.
//   
//

#import <UIKit/UIKit.h>

@class WEIBOTabBar;
@protocol WEIBOTabbarDekegate <NSObject>

@optional
- (void)tabBar:(WEIBOTabBar *)tabBar didSelectedButtonfrom:(NSInteger)from to:(NSInteger)to;
- (void)tabBarDidClickedPlusButton:(WEIBOTabBar *)tabBar;
@end

@interface WEIBOTabBar : UIView
@property (nonatomic, weak) id<WEIBOTabbarDekegate>delegate;

- (void)addButtonWithItem:(UITabBarItem *)item;
@end
